package com.xinweisi.dataserver.module.drawingverification;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinweisi.dataserver.module.drawingverification.domain.dto.DrawingVerificationQueryDTO;
import com.xinweisi.dataserver.module.drawingverification.domain.entity.*;
import com.xinweisi.dataserver.module.memberdata.onlinemember.domain.entity.OnLineMemberEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * DrawingVerificationDao
 *
 * @author lijie1
 * @date 2020/8/4 0004 10:56
 * @return
 */
@Component
@Mapper
public interface DrawingVerificationDao extends BaseMapper<DepositSettingsEntity> {
    /**
     * 打码设置
     * @param queryDTO
     * @author 
     * @date 2020/8/4 0004 11:21 
     * @return java.util.List<com.xinweisi.dataserver.module.drawingverification.domain.entity.DepositSettingsEntity>
     */
    List<DepositSettingsEntity> selectDepositSettingsList(@Param("queryDTO") DrawingVerificationQueryDTO queryDTO);

    /**
     * 存款记录查询
     * @param queryDTO
     * @author 
     * @date 2020/8/4 0004 11:21 
     * @return java.util.List<com.xinweisi.dataserver.module.drawingverification.domain.entity.DepositExamineEntity>
     */
    List<DepositEntity> selectDepositExamineApplyList(@Param("queryDTO") DrawingVerificationQueryDTO queryDTO);

    /**
     * 提款审核查询
     * @author
     * @date 2020/8/4 0004 11:45
     * @return java.util.List<com.xinweisi.dataserver.module.drawingverification.domain.entity.DrawingExamineEntity>
     */
    List<DrawingExamineEntity> selectDrawingExamineApplyList();

    /**
     * 提款记录查询
     * @param queryDTO
     * @author
     * @date 2020/8/4 0004 14:02
     * @return java.util.List<com.xinweisi.dataserver.module.drawingverification.domain.entity.ReflectEntity>
     */
    List<ReflectEntity> selectDrawingExamineList(@Param("queryDTO") DrawingVerificationQueryDTO queryDTO);

    /**
     * 修改提款打码状态
     * @param entity
     * @author
     * @date 2020/8/4 0004 14:02
     * @return java.util.List<com.xinweisi.dataserver.module.drawingverification.domain.entity.ReflectEntity>
     */
    void updateDrawingStatus(DrawingExamineEntity entity);

    /**
     * 修改提款打码状态
     * @param entity
     * @author
     * @date 2020/8/4 0004 14:02
     */
    void updateMemberInfoByDacoding(OnLineMemberEntity entity);

    /**
     * 查询会员交易流水和
     * @param queryDTO
     * @author 
     * @date 2020/9/15 0015 9:53 
     * @return java.util.List<com.xinweisi.dataserver.module.drawingverification.domain.entity.MemberFundsFlowEntity>
     */
    List<MemberFundsFlowEntity> selectMemberFundFlowList(@Param("queryDTO") DrawingVerificationQueryDTO queryDTO);

    /**
     * 修改交易流水和
     * @param onLineMemberEntity
     * @author
     * @date 2020/9/15 0015 9:53
     * @return java.util.List<com.xinweisi.dataserver.module.drawingverification.domain.entity.MemberFundsFlowEntity>
     */
    void updateMemberFundFlow(OnLineMemberEntity onLineMemberEntity);


}
